FROM kibana:5.6.5

RUN apt-get update && apt-get install zip python -y

RUN wget https://github.com/anbai-inc/Kibana_Hanization/archive/master.zip \
    && unzip master.zip

RUN \
    ( \
		cd Kibana_Hanization-master/old \
		&& python main.py /usr/share/kibana \
	) \
	&& rm -rf master.zip

# clean
RUN apt-get purge --auto-remove -y python zip \
	&& apt-get clean \
    && rm -rf /var/lib/apt/lists/*
